drm/vc4: Add support for setting DPMS in firmwarekms.
authorEric Anholt <eric@anholt.net>
Thu, 6 Jul 2017 18:45:48 +0000 (11:45 -0700)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:54:22 +0000 (15:54 +0100)
commitbb4980a3e125237622384dcfe8979b95dabf8298
tree9cbf266813db69fd7eff5b30cc0eafc95a740032
parentfe7f96f340383e0b46e5b11ee44baf0aec97aa54
drm/vc4: Add support for setting DPMS in firmwarekms.

This ensures that the screen goes blank during DPMS (screensaver),
including the cursor.  Planes don't necessarily get disabled during
CRTC disable, so we need to be careful to not leave them on or turn
them back on early.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_firmware_kms.c